package com.goldcn.orderborrow.dao;

import com.goldcn.orderborrow.model.OrderBorrowItem;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
/**
 * @Description:借货明细DAO
 * @Author Tim Peng
 * @date 2017-4-19 18:22:50
 * @version V1.0
 */
public interface OrderBorrowItemMapper {
    int deleteByPrimaryKey(Long itemID);

    int insert(OrderBorrowItem record);

    int insertSelective(OrderBorrowItem record);

    OrderBorrowItem selectByPrimaryKey(Long itemID);

    int updateByPrimaryKeySelective(OrderBorrowItem record);

    int updateByPrimaryKey(OrderBorrowItem record);

    List<OrderBorrowItem> selectByOrderID(Long orderID);

    int selectqtyByOrderID(Long orderID);

    BigDecimal selectSumAmountByOrderID(Long orderID);

    int updateMD5(Map<String, Object> prams);
}